package com.sannuo.common.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("scc_medical_report")
public class MedicalReport implements Serializable {
    private static final long serialVersionUID = -7418181625067036704L;

    @TableId("report_id")
    private Integer reportId;//报告ID
    private String medicalCode;//项目代号

    private String medicalName;//项目名称
    private String medicalUnits;//单位
    private String medicalMethod;//校验方法
    private String medicalReference;//参考值
    private Double referenceLow;//最低参考值
    private Double referenceHigh;//最高参考值
    private Integer medicalType;//项目类别
    private Integer medicalAssistType;//项目协助类型
    private Integer medicalStatus;//项目结果状态
    private String medicalSuggest;//结果解读

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;//创建时间

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;//更新时间

    private String remark;//备注
    private Integer status;//状态（0禁用，1正常，默认1）


    private String qj;

}
